//
//  policyConsultCell.m
//  Project two framework
//
//  Created by rimi on 16/7/23.
//  Copyright © 2016年 张峥. All rights reserved.
//

#import "policyConsultCell.h"

@implementation policyConsultCell

-(instancetype)initWithStyle:(UITableViewCellStyle)style reuseIdentifier:(NSString *)reuseIdentifier
{
    self = [super initWithStyle:style reuseIdentifier:reuseIdentifier];
    if (self ) {
        
        
//        self.backgroundColor = [UIColor colorWithPatternImage:[UIImage imageNamed:@"line_12"]];
        
        UIImageView *image = [[UIImageView alloc]initWithFrame:CGRectMake(0, 0, 825, 50)];
        image.image = [UIImage imageNamed:@"line_12"];
        image.userInteractionEnabled = YES;
        [self.contentView addSubview:image];
        
        _serialNumberLabel = [[UILabel alloc]initWithFrame:CGRectMake(0, 0, 205, 50)];
        _serialNumberLabel.backgroundColor = [UIColor clearColor];
        _serialNumberLabel.textAlignment = NSTextAlignmentCenter;
//        _serialNumberLabel.text = @"1";
        [image addSubview:_serialNumberLabel];
        
        _titleLabel = [[UILabel alloc]initWithFrame:CGRectMake(125, 0, 700, 50)];
        _titleLabel.backgroundColor = [UIColor clearColor];
//        _titleLabel.text = @"13454321";
        _titleLabel.textAlignment = NSTextAlignmentCenter;
        [image addSubview:_titleLabel];
        
        
    }

    return self;

}






@end
